class Data {
    async getUserCard() {
        const data = {
            "name": "用户卡片",
            "image": "http://file.shopro.top/uploads/20210518/c4e353836a5d04e92697d22f95d0c5a5.png",
            "style": 2,
            "color": "#eeeeee"
          }
        return data;
    }
	async userInfo() {
		const userInfo = {
			username: 'jd182984375349',
			nickname: 'xghell',
			avatar: '/static/mock/avatars/1.jpg',
		};
		
		return userInfo;
	}
    async trackInfoList() {
		const trackList = [
			{
				url: '',
				name: '商品收藏',
				value: 0,
			},
			{
				url: '',
				name: '店铺关注',
				value: 9
			},
			{
				url: '',
				name: '喜欢的内容',
				value: 1,
			},
			{
				url: '',
				name: '浏览记录',
				value: 100
			}
		];
		
		return trackList;
	}

    async orderInfoList() {
		const list = [
			{
				url: '/pages/order/list',
				title: '待付款',
				subtitle: '',
				image: '/static/user/order-info/daifukuan.png'
			},
			{
				url: '/pages/order/list',
				title: '待收货',
				subtitle: '',
				image: '/static/user/order-info/daishouhuo.png'
			},
			{
				url: '/pages/comment/list',
				title: '待评价',
				subtitle: '',
				image: '/static/user/order-info/daipingjia.png'
			},
			{
				url: '',
				title: '退换/售后',
				subtitle: '',
				image: '/static/user/order-info/tuihuanshouhou.png'
			},
			{
				url: '/pages/order/list',
				title: '我的订单',
				subtitle: '查看电子发票',
				image: '/static/user/order-info/dingdan.png'
			}
		];
		
		return list;
	}

    async navBarBg() {
		const image = '/static/mock/index/page-top-bg1.png';
		return image;
	}


}
export default new Data();